package com.hfkh.keyun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hfkh.keyun.entity.Collect;
import com.hfkh.keyun.mapper.CollectMapper;
import com.hfkh.keyun.service.CollectService;
import com.hfkh.keyun.vo.CollectVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CollectServiceImpl extends ServiceImpl<CollectMapper, Collect> implements CollectService {

    @Resource
    private CollectMapper collectMapper;

    @Override
    public List<Collect> selCollectList(Integer userId) {
        return collectMapper.selCollectList(userId);
    }

}
